﻿using Forum.Model.Entity;
using Forum.Model.Request;
using Forum.Model.Response;

namespace Forum.Service.Interface.NoAuth
{
    public interface IAuthService
    {
        Task<UserLoginInfo?> LoginAsync(AuthReq user);
        TokenResponse? Token(AuthReq user);
        Task<TokenResult> TokenAsync(AuthReq user);
        Task<TokenResult> RefreshTokenAsync(string token, string refreshToken);
    }
}
